﻿namespace HTML
{
    public class Alert
    {
        public static string AlertSucess(string message)
        {
            string StrAlert = string.Empty;
            StrAlert += "<div class='alert alert-success'>";
            StrAlert += "<a href='#' class='close' data-dismiss='alert'>&times;</a>";
            StrAlert += "Tìm thấy " + message + " mẫu tin !";
            StrAlert += "</div>";
            return StrAlert;
        }
        public static string AlertWarning(string message)
        {
            string StrAlert = string.Empty;
            StrAlert += "<div class='alert alert-warning'>";
            StrAlert += "<a href='#' class='close' data-dismiss='alert'>&times;</a>";
            StrAlert += message;
            StrAlert += "</div>";
            return StrAlert;
        }
        public static string AlertError(string message)
        {
            string StrAlert = string.Empty;
            StrAlert += "<div class='alert alert-danger'>";
            StrAlert += "<a href='#' class='close' data-dismiss='alert'>&times;</a>";
            StrAlert += message;
            StrAlert += "</div>";
            return StrAlert;
        }
    }
}
